﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CYP.IISMonitor.Utility.Log;

namespace CYP.IISMonitor.Utility.SMS
{
    /// <summary>
    ///SystemLogInfo 的摘要说明
    /// </summary>
    public class SMSLogWriter
    {
        /// <summary>
        /// 日志纪录类
        /// </summary>
        private static readonly TextLogger _tracing = TextLogManager.Create(typeof(SMSLogWriter));

        /// <summary>
        /// Info
        /// </summary>
        /// <param name="desc">desc</param>
        public static void Info(string desc)
        {
            _tracing.Info(desc);
        }

        /// <summary>
        /// Error
        /// </summary>
        /// <param name="desc">desc</param>
        public static void Error(string desc)
        {
            _tracing.Error(desc);
        }
    }
}